package com.example.touch.communication.entities;

import java.util.ArrayList;

import org.simpleframework.xml.ElementList;
import org.simpleframework.xml.ElementListUnion;



public class TriggerConditionList {

	
    @ElementListUnion({
        @ElementList(name = "closeByEvent", type = CloseByEvent.class, inline = true),
        @ElementList(name = "roomEvent", type = RoomEvent.class, inline = true),
        @ElementList(name = "transition", type = Transition.class, inline = true)
    })
	private ArrayList<Trigger> triggers;

	public ArrayList<Trigger> getTriggers() {
		return triggers;
	}

	public void setTriggers(ArrayList<Trigger> triggers) {
		this.triggers= triggers;
	}
	
}
